package wt.auto.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class _InspectorAssessExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public _InspectorAssessExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBusinessIdIsNull() {
            addCriterion("BUSINESS_ID is null");
            return (Criteria) this;
        }

        public Criteria andBusinessIdIsNotNull() {
            addCriterion("BUSINESS_ID is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessIdEqualTo(String value) {
            addCriterion("BUSINESS_ID =", value, "businessId");
            return (Criteria) this;
        }

        public Criteria andBusinessIdNotEqualTo(String value) {
            addCriterion("BUSINESS_ID <>", value, "businessId");
            return (Criteria) this;
        }

        public Criteria andBusinessIdGreaterThan(String value) {
            addCriterion("BUSINESS_ID >", value, "businessId");
            return (Criteria) this;
        }

        public Criteria andBusinessIdGreaterThanOrEqualTo(String value) {
            addCriterion("BUSINESS_ID >=", value, "businessId");
            return (Criteria) this;
        }

        public Criteria andBusinessIdLessThan(String value) {
            addCriterion("BUSINESS_ID <", value, "businessId");
            return (Criteria) this;
        }

        public Criteria andBusinessIdLessThanOrEqualTo(String value) {
            addCriterion("BUSINESS_ID <=", value, "businessId");
            return (Criteria) this;
        }

        public Criteria andBusinessIdLike(String value) {
            addCriterion("BUSINESS_ID like", value, "businessId");
            return (Criteria) this;
        }

        public Criteria andBusinessIdNotLike(String value) {
            addCriterion("BUSINESS_ID not like", value, "businessId");
            return (Criteria) this;
        }

        public Criteria andBusinessIdIn(List<String> values) {
            addCriterion("BUSINESS_ID in", values, "businessId");
            return (Criteria) this;
        }

        public Criteria andBusinessIdNotIn(List<String> values) {
            addCriterion("BUSINESS_ID not in", values, "businessId");
            return (Criteria) this;
        }

        public Criteria andBusinessIdBetween(String value1, String value2) {
            addCriterion("BUSINESS_ID between", value1, value2, "businessId");
            return (Criteria) this;
        }

        public Criteria andBusinessIdNotBetween(String value1, String value2) {
            addCriterion("BUSINESS_ID not between", value1, value2, "businessId");
            return (Criteria) this;
        }

        public Criteria andFromInspectorIdIsNull() {
            addCriterion("FROM_INSPECTOR_ID is null");
            return (Criteria) this;
        }

        public Criteria andFromInspectorIdIsNotNull() {
            addCriterion("FROM_INSPECTOR_ID is not null");
            return (Criteria) this;
        }

        public Criteria andFromInspectorIdEqualTo(String value) {
            addCriterion("FROM_INSPECTOR_ID =", value, "fromInspectorId");
            return (Criteria) this;
        }

        public Criteria andFromInspectorIdNotEqualTo(String value) {
            addCriterion("FROM_INSPECTOR_ID <>", value, "fromInspectorId");
            return (Criteria) this;
        }

        public Criteria andFromInspectorIdGreaterThan(String value) {
            addCriterion("FROM_INSPECTOR_ID >", value, "fromInspectorId");
            return (Criteria) this;
        }

        public Criteria andFromInspectorIdGreaterThanOrEqualTo(String value) {
            addCriterion("FROM_INSPECTOR_ID >=", value, "fromInspectorId");
            return (Criteria) this;
        }

        public Criteria andFromInspectorIdLessThan(String value) {
            addCriterion("FROM_INSPECTOR_ID <", value, "fromInspectorId");
            return (Criteria) this;
        }

        public Criteria andFromInspectorIdLessThanOrEqualTo(String value) {
            addCriterion("FROM_INSPECTOR_ID <=", value, "fromInspectorId");
            return (Criteria) this;
        }

        public Criteria andFromInspectorIdLike(String value) {
            addCriterion("FROM_INSPECTOR_ID like", value, "fromInspectorId");
            return (Criteria) this;
        }

        public Criteria andFromInspectorIdNotLike(String value) {
            addCriterion("FROM_INSPECTOR_ID not like", value, "fromInspectorId");
            return (Criteria) this;
        }

        public Criteria andFromInspectorIdIn(List<String> values) {
            addCriterion("FROM_INSPECTOR_ID in", values, "fromInspectorId");
            return (Criteria) this;
        }

        public Criteria andFromInspectorIdNotIn(List<String> values) {
            addCriterion("FROM_INSPECTOR_ID not in", values, "fromInspectorId");
            return (Criteria) this;
        }

        public Criteria andFromInspectorIdBetween(String value1, String value2) {
            addCriterion("FROM_INSPECTOR_ID between", value1, value2, "fromInspectorId");
            return (Criteria) this;
        }

        public Criteria andFromInspectorIdNotBetween(String value1, String value2) {
            addCriterion("FROM_INSPECTOR_ID not between", value1, value2, "fromInspectorId");
            return (Criteria) this;
        }

        public Criteria andToInspectorIdIsNull() {
            addCriterion("TO_INSPECTOR_ID is null");
            return (Criteria) this;
        }

        public Criteria andToInspectorIdIsNotNull() {
            addCriterion("TO_INSPECTOR_ID is not null");
            return (Criteria) this;
        }

        public Criteria andToInspectorIdEqualTo(String value) {
            addCriterion("TO_INSPECTOR_ID =", value, "toInspectorId");
            return (Criteria) this;
        }

        public Criteria andToInspectorIdNotEqualTo(String value) {
            addCriterion("TO_INSPECTOR_ID <>", value, "toInspectorId");
            return (Criteria) this;
        }

        public Criteria andToInspectorIdGreaterThan(String value) {
            addCriterion("TO_INSPECTOR_ID >", value, "toInspectorId");
            return (Criteria) this;
        }

        public Criteria andToInspectorIdGreaterThanOrEqualTo(String value) {
            addCriterion("TO_INSPECTOR_ID >=", value, "toInspectorId");
            return (Criteria) this;
        }

        public Criteria andToInspectorIdLessThan(String value) {
            addCriterion("TO_INSPECTOR_ID <", value, "toInspectorId");
            return (Criteria) this;
        }

        public Criteria andToInspectorIdLessThanOrEqualTo(String value) {
            addCriterion("TO_INSPECTOR_ID <=", value, "toInspectorId");
            return (Criteria) this;
        }

        public Criteria andToInspectorIdLike(String value) {
            addCriterion("TO_INSPECTOR_ID like", value, "toInspectorId");
            return (Criteria) this;
        }

        public Criteria andToInspectorIdNotLike(String value) {
            addCriterion("TO_INSPECTOR_ID not like", value, "toInspectorId");
            return (Criteria) this;
        }

        public Criteria andToInspectorIdIn(List<String> values) {
            addCriterion("TO_INSPECTOR_ID in", values, "toInspectorId");
            return (Criteria) this;
        }

        public Criteria andToInspectorIdNotIn(List<String> values) {
            addCriterion("TO_INSPECTOR_ID not in", values, "toInspectorId");
            return (Criteria) this;
        }

        public Criteria andToInspectorIdBetween(String value1, String value2) {
            addCriterion("TO_INSPECTOR_ID between", value1, value2, "toInspectorId");
            return (Criteria) this;
        }

        public Criteria andToInspectorIdNotBetween(String value1, String value2) {
            addCriterion("TO_INSPECTOR_ID not between", value1, value2, "toInspectorId");
            return (Criteria) this;
        }

        public Criteria andCooperationIsNull() {
            addCriterion("COOPERATION is null");
            return (Criteria) this;
        }

        public Criteria andCooperationIsNotNull() {
            addCriterion("COOPERATION is not null");
            return (Criteria) this;
        }

        public Criteria andCooperationEqualTo(Integer value) {
            addCriterion("COOPERATION =", value, "cooperation");
            return (Criteria) this;
        }

        public Criteria andCooperationNotEqualTo(Integer value) {
            addCriterion("COOPERATION <>", value, "cooperation");
            return (Criteria) this;
        }

        public Criteria andCooperationGreaterThan(Integer value) {
            addCriterion("COOPERATION >", value, "cooperation");
            return (Criteria) this;
        }

        public Criteria andCooperationGreaterThanOrEqualTo(Integer value) {
            addCriterion("COOPERATION >=", value, "cooperation");
            return (Criteria) this;
        }

        public Criteria andCooperationLessThan(Integer value) {
            addCriterion("COOPERATION <", value, "cooperation");
            return (Criteria) this;
        }

        public Criteria andCooperationLessThanOrEqualTo(Integer value) {
            addCriterion("COOPERATION <=", value, "cooperation");
            return (Criteria) this;
        }

        public Criteria andCooperationIn(List<Integer> values) {
            addCriterion("COOPERATION in", values, "cooperation");
            return (Criteria) this;
        }

        public Criteria andCooperationNotIn(List<Integer> values) {
            addCriterion("COOPERATION not in", values, "cooperation");
            return (Criteria) this;
        }

        public Criteria andCooperationBetween(Integer value1, Integer value2) {
            addCriterion("COOPERATION between", value1, value2, "cooperation");
            return (Criteria) this;
        }

        public Criteria andCooperationNotBetween(Integer value1, Integer value2) {
            addCriterion("COOPERATION not between", value1, value2, "cooperation");
            return (Criteria) this;
        }

        public Criteria andBusinessIsNull() {
            addCriterion("BUSINESS is null");
            return (Criteria) this;
        }

        public Criteria andBusinessIsNotNull() {
            addCriterion("BUSINESS is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessEqualTo(Integer value) {
            addCriterion("BUSINESS =", value, "business");
            return (Criteria) this;
        }

        public Criteria andBusinessNotEqualTo(Integer value) {
            addCriterion("BUSINESS <>", value, "business");
            return (Criteria) this;
        }

        public Criteria andBusinessGreaterThan(Integer value) {
            addCriterion("BUSINESS >", value, "business");
            return (Criteria) this;
        }

        public Criteria andBusinessGreaterThanOrEqualTo(Integer value) {
            addCriterion("BUSINESS >=", value, "business");
            return (Criteria) this;
        }

        public Criteria andBusinessLessThan(Integer value) {
            addCriterion("BUSINESS <", value, "business");
            return (Criteria) this;
        }

        public Criteria andBusinessLessThanOrEqualTo(Integer value) {
            addCriterion("BUSINESS <=", value, "business");
            return (Criteria) this;
        }

        public Criteria andBusinessIn(List<Integer> values) {
            addCriterion("BUSINESS in", values, "business");
            return (Criteria) this;
        }

        public Criteria andBusinessNotIn(List<Integer> values) {
            addCriterion("BUSINESS not in", values, "business");
            return (Criteria) this;
        }

        public Criteria andBusinessBetween(Integer value1, Integer value2) {
            addCriterion("BUSINESS between", value1, value2, "business");
            return (Criteria) this;
        }

        public Criteria andBusinessNotBetween(Integer value1, Integer value2) {
            addCriterion("BUSINESS not between", value1, value2, "business");
            return (Criteria) this;
        }

        public Criteria andFairnessIsNull() {
            addCriterion("FAIRNESS is null");
            return (Criteria) this;
        }

        public Criteria andFairnessIsNotNull() {
            addCriterion("FAIRNESS is not null");
            return (Criteria) this;
        }

        public Criteria andFairnessEqualTo(Integer value) {
            addCriterion("FAIRNESS =", value, "fairness");
            return (Criteria) this;
        }

        public Criteria andFairnessNotEqualTo(Integer value) {
            addCriterion("FAIRNESS <>", value, "fairness");
            return (Criteria) this;
        }

        public Criteria andFairnessGreaterThan(Integer value) {
            addCriterion("FAIRNESS >", value, "fairness");
            return (Criteria) this;
        }

        public Criteria andFairnessGreaterThanOrEqualTo(Integer value) {
            addCriterion("FAIRNESS >=", value, "fairness");
            return (Criteria) this;
        }

        public Criteria andFairnessLessThan(Integer value) {
            addCriterion("FAIRNESS <", value, "fairness");
            return (Criteria) this;
        }

        public Criteria andFairnessLessThanOrEqualTo(Integer value) {
            addCriterion("FAIRNESS <=", value, "fairness");
            return (Criteria) this;
        }

        public Criteria andFairnessIn(List<Integer> values) {
            addCriterion("FAIRNESS in", values, "fairness");
            return (Criteria) this;
        }

        public Criteria andFairnessNotIn(List<Integer> values) {
            addCriterion("FAIRNESS not in", values, "fairness");
            return (Criteria) this;
        }

        public Criteria andFairnessBetween(Integer value1, Integer value2) {
            addCriterion("FAIRNESS between", value1, value2, "fairness");
            return (Criteria) this;
        }

        public Criteria andFairnessNotBetween(Integer value1, Integer value2) {
            addCriterion("FAIRNESS not between", value1, value2, "fairness");
            return (Criteria) this;
        }

        public Criteria andHonestIsNull() {
            addCriterion("HONEST is null");
            return (Criteria) this;
        }

        public Criteria andHonestIsNotNull() {
            addCriterion("HONEST is not null");
            return (Criteria) this;
        }

        public Criteria andHonestEqualTo(Integer value) {
            addCriterion("HONEST =", value, "honest");
            return (Criteria) this;
        }

        public Criteria andHonestNotEqualTo(Integer value) {
            addCriterion("HONEST <>", value, "honest");
            return (Criteria) this;
        }

        public Criteria andHonestGreaterThan(Integer value) {
            addCriterion("HONEST >", value, "honest");
            return (Criteria) this;
        }

        public Criteria andHonestGreaterThanOrEqualTo(Integer value) {
            addCriterion("HONEST >=", value, "honest");
            return (Criteria) this;
        }

        public Criteria andHonestLessThan(Integer value) {
            addCriterion("HONEST <", value, "honest");
            return (Criteria) this;
        }

        public Criteria andHonestLessThanOrEqualTo(Integer value) {
            addCriterion("HONEST <=", value, "honest");
            return (Criteria) this;
        }

        public Criteria andHonestIn(List<Integer> values) {
            addCriterion("HONEST in", values, "honest");
            return (Criteria) this;
        }

        public Criteria andHonestNotIn(List<Integer> values) {
            addCriterion("HONEST not in", values, "honest");
            return (Criteria) this;
        }

        public Criteria andHonestBetween(Integer value1, Integer value2) {
            addCriterion("HONEST between", value1, value2, "honest");
            return (Criteria) this;
        }

        public Criteria andHonestNotBetween(Integer value1, Integer value2) {
            addCriterion("HONEST not between", value1, value2, "honest");
            return (Criteria) this;
        }

        public Criteria andComprehensiveIsNull() {
            addCriterion("COMPREHENSIVE is null");
            return (Criteria) this;
        }

        public Criteria andComprehensiveIsNotNull() {
            addCriterion("COMPREHENSIVE is not null");
            return (Criteria) this;
        }

        public Criteria andComprehensiveEqualTo(Integer value) {
            addCriterion("COMPREHENSIVE =", value, "comprehensive");
            return (Criteria) this;
        }

        public Criteria andComprehensiveNotEqualTo(Integer value) {
            addCriterion("COMPREHENSIVE <>", value, "comprehensive");
            return (Criteria) this;
        }

        public Criteria andComprehensiveGreaterThan(Integer value) {
            addCriterion("COMPREHENSIVE >", value, "comprehensive");
            return (Criteria) this;
        }

        public Criteria andComprehensiveGreaterThanOrEqualTo(Integer value) {
            addCriterion("COMPREHENSIVE >=", value, "comprehensive");
            return (Criteria) this;
        }

        public Criteria andComprehensiveLessThan(Integer value) {
            addCriterion("COMPREHENSIVE <", value, "comprehensive");
            return (Criteria) this;
        }

        public Criteria andComprehensiveLessThanOrEqualTo(Integer value) {
            addCriterion("COMPREHENSIVE <=", value, "comprehensive");
            return (Criteria) this;
        }

        public Criteria andComprehensiveIn(List<Integer> values) {
            addCriterion("COMPREHENSIVE in", values, "comprehensive");
            return (Criteria) this;
        }

        public Criteria andComprehensiveNotIn(List<Integer> values) {
            addCriterion("COMPREHENSIVE not in", values, "comprehensive");
            return (Criteria) this;
        }

        public Criteria andComprehensiveBetween(Integer value1, Integer value2) {
            addCriterion("COMPREHENSIVE between", value1, value2, "comprehensive");
            return (Criteria) this;
        }

        public Criteria andComprehensiveNotBetween(Integer value1, Integer value2) {
            addCriterion("COMPREHENSIVE not between", value1, value2, "comprehensive");
            return (Criteria) this;
        }

        public Criteria andAssessTimeIsNull() {
            addCriterion("ASSESS_TIME is null");
            return (Criteria) this;
        }

        public Criteria andAssessTimeIsNotNull() {
            addCriterion("ASSESS_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andAssessTimeEqualTo(Date value) {
            addCriterion("ASSESS_TIME =", value, "assessTime");
            return (Criteria) this;
        }

        public Criteria andAssessTimeNotEqualTo(Date value) {
            addCriterion("ASSESS_TIME <>", value, "assessTime");
            return (Criteria) this;
        }

        public Criteria andAssessTimeGreaterThan(Date value) {
            addCriterion("ASSESS_TIME >", value, "assessTime");
            return (Criteria) this;
        }

        public Criteria andAssessTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("ASSESS_TIME >=", value, "assessTime");
            return (Criteria) this;
        }

        public Criteria andAssessTimeLessThan(Date value) {
            addCriterion("ASSESS_TIME <", value, "assessTime");
            return (Criteria) this;
        }

        public Criteria andAssessTimeLessThanOrEqualTo(Date value) {
            addCriterion("ASSESS_TIME <=", value, "assessTime");
            return (Criteria) this;
        }

        public Criteria andAssessTimeIn(List<Date> values) {
            addCriterion("ASSESS_TIME in", values, "assessTime");
            return (Criteria) this;
        }

        public Criteria andAssessTimeNotIn(List<Date> values) {
            addCriterion("ASSESS_TIME not in", values, "assessTime");
            return (Criteria) this;
        }

        public Criteria andAssessTimeBetween(Date value1, Date value2) {
            addCriterion("ASSESS_TIME between", value1, value2, "assessTime");
            return (Criteria) this;
        }

        public Criteria andAssessTimeNotBetween(Date value1, Date value2) {
            addCriterion("ASSESS_TIME not between", value1, value2, "assessTime");
            return (Criteria) this;
        }

        public Criteria andExtend1IsNull() {
            addCriterion("EXTEND1 is null");
            return (Criteria) this;
        }

        public Criteria andExtend1IsNotNull() {
            addCriterion("EXTEND1 is not null");
            return (Criteria) this;
        }

        public Criteria andExtend1EqualTo(String value) {
            addCriterion("EXTEND1 =", value, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend1NotEqualTo(String value) {
            addCriterion("EXTEND1 <>", value, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend1GreaterThan(String value) {
            addCriterion("EXTEND1 >", value, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend1GreaterThanOrEqualTo(String value) {
            addCriterion("EXTEND1 >=", value, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend1LessThan(String value) {
            addCriterion("EXTEND1 <", value, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend1LessThanOrEqualTo(String value) {
            addCriterion("EXTEND1 <=", value, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend1Like(String value) {
            addCriterion("EXTEND1 like", value, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend1NotLike(String value) {
            addCriterion("EXTEND1 not like", value, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend1In(List<String> values) {
            addCriterion("EXTEND1 in", values, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend1NotIn(List<String> values) {
            addCriterion("EXTEND1 not in", values, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend1Between(String value1, String value2) {
            addCriterion("EXTEND1 between", value1, value2, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend1NotBetween(String value1, String value2) {
            addCriterion("EXTEND1 not between", value1, value2, "extend1");
            return (Criteria) this;
        }

        public Criteria andExtend2IsNull() {
            addCriterion("EXTEND2 is null");
            return (Criteria) this;
        }

        public Criteria andExtend2IsNotNull() {
            addCriterion("EXTEND2 is not null");
            return (Criteria) this;
        }

        public Criteria andExtend2EqualTo(String value) {
            addCriterion("EXTEND2 =", value, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend2NotEqualTo(String value) {
            addCriterion("EXTEND2 <>", value, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend2GreaterThan(String value) {
            addCriterion("EXTEND2 >", value, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend2GreaterThanOrEqualTo(String value) {
            addCriterion("EXTEND2 >=", value, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend2LessThan(String value) {
            addCriterion("EXTEND2 <", value, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend2LessThanOrEqualTo(String value) {
            addCriterion("EXTEND2 <=", value, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend2Like(String value) {
            addCriterion("EXTEND2 like", value, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend2NotLike(String value) {
            addCriterion("EXTEND2 not like", value, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend2In(List<String> values) {
            addCriterion("EXTEND2 in", values, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend2NotIn(List<String> values) {
            addCriterion("EXTEND2 not in", values, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend2Between(String value1, String value2) {
            addCriterion("EXTEND2 between", value1, value2, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend2NotBetween(String value1, String value2) {
            addCriterion("EXTEND2 not between", value1, value2, "extend2");
            return (Criteria) this;
        }

        public Criteria andExtend3IsNull() {
            addCriterion("EXTEND3 is null");
            return (Criteria) this;
        }

        public Criteria andExtend3IsNotNull() {
            addCriterion("EXTEND3 is not null");
            return (Criteria) this;
        }

        public Criteria andExtend3EqualTo(String value) {
            addCriterion("EXTEND3 =", value, "extend3");
            return (Criteria) this;
        }

        public Criteria andExtend3NotEqualTo(String value) {
            addCriterion("EXTEND3 <>", value, "extend3");
            return (Criteria) this;
        }

        public Criteria andExtend3GreaterThan(String value) {
            addCriterion("EXTEND3 >", value, "extend3");
            return (Criteria) this;
        }

        public Criteria andExtend3GreaterThanOrEqualTo(String value) {
            addCriterion("EXTEND3 >=", value, "extend3");
            return (Criteria) this;
        }

        public Criteria andExtend3LessThan(String value) {
            addCriterion("EXTEND3 <", value, "extend3");
            return (Criteria) this;
        }

        public Criteria andExtend3LessThanOrEqualTo(String value) {
            addCriterion("EXTEND3 <=", value, "extend3");
            return (Criteria) this;
        }

        public Criteria andExtend3Like(String value) {
            addCriterion("EXTEND3 like", value, "extend3");
            return (Criteria) this;
        }

        public Criteria andExtend3NotLike(String value) {
            addCriterion("EXTEND3 not like", value, "extend3");
            return (Criteria) this;
        }

        public Criteria andExtend3In(List<String> values) {
            addCriterion("EXTEND3 in", values, "extend3");
            return (Criteria) this;
        }

        public Criteria andExtend3NotIn(List<String> values) {
            addCriterion("EXTEND3 not in", values, "extend3");
            return (Criteria) this;
        }

        public Criteria andExtend3Between(String value1, String value2) {
            addCriterion("EXTEND3 between", value1, value2, "extend3");
            return (Criteria) this;
        }

        public Criteria andExtend3NotBetween(String value1, String value2) {
            addCriterion("EXTEND3 not between", value1, value2, "extend3");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}